package io.coderyeah.ymcc.dto;

import io.coderyeah.ymcc.domain.Course;
import io.coderyeah.ymcc.domain.CourseDetail;
import io.coderyeah.ymcc.domain.CourseMarket;
import io.coderyeah.ymcc.domain.CourseResource;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * @author lqs
 * @date 2022/10/25 11:38
 */
@Data
public class CourseParamDTO {
    private Course course;
    private CourseDetail courseDetail;
    private CourseMarket courseMarket;
    private CourseResource courseResource;
    @NotEmpty(message = "您还未选择讲师")
    private List<Long> teacherIds;
}
